package com.healthy_software.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "healthy.jwt")
@Data
public class JwtProperties {

    /**
     * 用户生成jwt令牌相关配置
     */
    private String userSecretKey;
    private long userTtl;
    private String userTokenName;

    /**
     *
     * 微信端用户jwt令牌相关配置
     */
    private String userWXSecretKey;
    private long userWXTtl;
    private String userWXTokenName;

}
